package com.wangyuhang.Dao.impl;

import com.wangyuhang.dao.testDao;

import java.util.List;

public class testDaoImpl implements testDao {

    //      public testDaoImpl(){
//          System.out.println("无参构造方法");
//      }
    /*简单数据*/
    private  int age;
    /*集合对象*/
    List<String> list;

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public void print() {
        System.out.println("testDao");
        System.out.println(age);
        System.out.println(list.toString());
    }

}
